package com.yshkj.payment.entity.medicinal;

import com.yshkj.payment.entity.BaseDomain;
import lombok.Builder;
import lombok.Data;

import javax.persistence.*;

/**
 * 入库记录中的每一项记录
 * Created by 唐旭 on 2016/10/1.
 */
@Entity
@Table
@Data
public class StorageRecordItem extends BaseDomain {
    @ManyToOne
    @JoinColumn(name = "spec")
    private Spec spec;
    @Column
    private int count;
    @ManyToOne
    @JoinColumn(name = "storage_record")
    private StorageRecord storageRecord;
}
